package net.xdclass.shopproject.service;

import net.xdclass.config.SmsProperties;
import net.xdclass.config.SmsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class XDSmsServiceImpl implements SmsService {

    @Autowired
    private SmsProperties smsProperties;

    @Override
    public void send(String phone, String msg) {
        System.out.println("这个是调用小滴短信网关: " + smsProperties.getTemplateId());
    }
}
